import App from './App'
import './uni.promisify.adaptor'
import uView from "uview-ui";
import noDatas from "./components/noDatas.vue"
import uNavbar from "./components/uNavbar.vue"
import atAddress from "./components/at-address.vue"
import classification from "./components/at-classification.vue"
import NavTitle from "./components/navTitle.vue"
import SortFilter from "./components/sortFilter.vue"
Vue.use(uView);
Vue.component("noDatas", noDatas)
Vue.component("uNavbar", uNavbar)
Vue.component("atAddress", atAddress)
Vue.component("classification", classification)
Vue.component("NavTitle", NavTitle)
Vue.component("SortFilter", SortFilter)
Vue.prototype.$imageBaseUrl = 'https://images.fudiemall.com'

// #ifndef VUE3
import Vue from 'vue'
Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
  ...App
})
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif